﻿using System;

using System.Collections.Generic;
using System.Text;
using Silvermoon.Controls.Interfaces;
using Silvermoon.Controls.Classes;

namespace Silvermoon.Controls
{
    public enum PageTransitionState
    {
        Begin,
        Progress,
        End
    }

    /// <summary>
    /// Notifies about the state of a transition in a <see cref="T:PageContainer"/>.
    /// </summary>
    public class PageTransitionEventArgs:EventArgs
    {
        public IPage Page { get; internal set; }
        public IPage TransitionPage { get; internal set; }
        public int Progess { get; internal set; }
        public int BeginValue { get; internal set; }
        public int EndValue { get; internal set; }
        public PageTransitionState State { get; internal set; }
        public NavigationMode Mode { get; internal set; }
    }
}
